#include "Document.h"

void getChildren(){
	printf("pepe\n");
}

void initDocument(Document* doc,int nameSize){
	doc->name = (char*) malloc(nameSize);
	vectorListCreate(&(doc->elems));
}

void releaseDocument(Document* doc){
	free(doc->name);
	vectorListFree(&(doc->elems));
}

void printDocument(Document* doc){
	
	Element auxElem;
	int i=1;
	int resultGet = vectorListGetItem(doc->elems,0,&auxElem);
	// auxElem es la raiz
	printElements(&auxElem);

}



